Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.152/2.152, allocations: 284.8 MB / 292.1 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 183.7 kB / 360.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 0.6187 GB, free: 5.16 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001268, allocations: 85.84 kB / 0.7317 GB, free: 53.54 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.2392/0.2405, allocations: 121.4 MB / 0.8502 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.4839, allocations: 115.3 MB / 0.9628 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5582/1.042, allocations: 137.3 MB / 1.097 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.042, allocations: 67.97 kB / 1.097 GB, free: 15.21 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0115/1.054, allocations: 2.517 MB / 1.099 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/1.054, allocations: 8 kB / 1.099 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/1.054, allocations: 12.83 kB / 1.099 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.054, allocations: 169.5 kB / 1.1 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/1.054, allocations: 0 / 1.1 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/1.054, allocations: 8 kB / 1.1 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001215/1.054, allocations: 24.95 kB / 1.1 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.055, allocations: 65.61 kB / 1.1 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/1.055, allocations: 0 / 1.1 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/1.055, allocations: 8.406 kB / 1.1 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.055, allocations: 2.562 kB / 1.1 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/1.055, allocations: 298.4 kB / 1.1 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/1.055, allocations: 63.7 kB / 1.1 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/1.055, allocations: 25.67 kB / 1.1 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/1.056, allocations: 0.7812 kB / 1.1 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/1.056, allocations: 92.34 kB / 1.1 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/1.056, allocations: 1.781 kB / 1.1 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of matching and sorting (n=9): time 0.0003094/1.056, allocations: 98.45 kB / 1.1 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/1.056, allocations: 51.41 kB / 1.1 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.582e-05/1.056, allocations: 114.9 kB / 1.1 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.056, allocations: 25.7 kB / 1.1 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/1.056, allocations: 88.33 kB / 1.1 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/1.056, allocations: 23.64 kB / 1.1 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/1.056, allocations: 1 kB / 1.1 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 5.508e-05/1.056, allocations: 318.8 kB / 1.101 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/1.057, allocations: 44.83 kB / 1.101 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/1.057, allocations: 63.59 kB / 1.101 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/1.057, allocations: 53.77 kB / 1.101 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.057, allocations: 0 / 1.101 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008569/1.058, allocations: 205.6 kB / 1.101 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/1.058, allocations: 4.531 kB / 1.101 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.058, allocations: 0.5312 kB / 1.101 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/1.058, allocations: 43.2 kB / 1.101 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/1.058, allocations: 11.92 kB / 1.101 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/1.059, allocations: 1.325 MB / 1.102 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/1.06, allocations: 52 kB / 1.103 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/1.06, allocations: 4 kB / 1.103 GB, free: 9.18 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 9.638e-05/1.06, allocations: 119.9 kB / 1.103 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/1.06, allocations: 11.89 kB / 1.103 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/1.06, allocations: 4.375 kB / 1.103 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.06, allocations: 4 kB / 1.103 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/1.06, allocations: 4 kB / 1.103 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.06, allocations: 0 / 1.103 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/1.06, allocations: 334.9 kB / 1.103 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.06, allocations: 2.875 kB / 1.103 GB, free: 8.664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/1.06, allocations: 4 kB / 1.103 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.06, allocations: 4 kB / 1.103 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/1.06, allocations: 7.984 kB / 1.103 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.06, allocations: 0 / 1.103 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.06, allocations: 4 kB / 1.103 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002349/1.061, allocations: 197.8 kB / 1.103 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002816/1.061, allocations: 0.5623 MB / 1.104 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/1.061, allocations: 85 kB / 1.104 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.061, allocations: 4 kB / 1.104 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/1.061, allocations: 8 kB / 1.104 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/1.061, allocations: 3.984 kB / 1.104 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/1.061, allocations: 4 kB / 1.104 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.994e-05/1.061, allocations: 94.17 kB / 1.104 GB, free: 7.645 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001212/1.063, allocations: 32 kB / 1.104 GB, free: 7.613 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/1.063, allocations: 107.2 kB / 1.104 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004317/1.063, allocations: 224.2 kB / 1.104 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.063, allocations: 0 / 1.104 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/1.063, allocations: 51.91 kB / 1.104 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/1.064, allocations: 18.91 kB / 1.104 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/1.064, allocations: 103.7 kB / 1.104 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/1.064, allocations: 0.7037 MB / 1.105 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of SimCode: time 5.81e-07/1.064, allocations: 4 kB / 1.105 GB, free: 6.34 MB / 0.7012 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)