Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.349/1.349, allocations: 285.5 MB / 292.8 MB, free: 9.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008793/0.0008794, allocations: 177.3 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 205.1 MB / 0.6195 GB, free: 2.848 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007332/0.0007329, allocations: 93.08 kB / 0.7326 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.357/0.3578, allocations: 121.5 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.5027, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/0.9035, allocations: 137.4 MB / 1.098 GB, free: 44.18 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.9037, allocations: 70.41 kB / 1.098 GB, free: 44.18 MB / 0.7136 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.006129/0.9099, allocations: 2.518 MB / 1.101 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.9099, allocations: 11.84 kB / 1.101 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.9099, allocations: 3.719 kB / 1.101 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.393e-05/0.91, allocations: 171.3 kB / 1.101 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.91, allocations: 5.188 kB / 1.101 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.9101, allocations: 6.797 kB / 1.101 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.508e-05/0.9102, allocations: 25.47 kB / 1.101 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.9102, allocations: 66.09 kB / 1.101 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-06/0.9103, allocations: 4 kB / 1.101 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.9103, allocations: 0 / 1.101 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.9103, allocations: 11.69 kB / 1.101 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.9106, allocations: 297.1 kB / 1.101 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.669e-05/0.9107, allocations: 63.09 kB / 1.101 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.9108, allocations: 25.05 kB / 1.101 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.9108, allocations: 4 kB / 1.101 GB, free: 43.16 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.902e-05/0.9109, allocations: 95.48 kB / 1.101 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.9109, allocations: 0 / 1.101 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000175/0.9111, allocations: 96.7 kB / 1.101 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.538e-05/0.9111, allocations: 55.34 kB / 1.101 GB, free: 43.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.9111, allocations: 107.7 kB / 1.102 GB, free: 42.92 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.9112, allocations: 25.7 kB / 1.102 GB, free: 42.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.9112, allocations: 91.7 kB / 1.102 GB, free: 42.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.9112, allocations: 23.09 kB / 1.102 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.9113, allocations: 0 / 1.102 GB, free: 42.78 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.205e-05/0.9113, allocations: 321.9 kB / 1.102 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.521e-05/0.9114, allocations: 38.16 kB / 1.102 GB, free: 42.47 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.847e-05/0.9115, allocations: 64.81 kB / 1.102 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.9116, allocations: 53.89 kB / 1.102 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9116, allocations: 0 / 1.102 GB, free: 42.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004746/0.9121, allocations: 206 kB / 1.102 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.9121, allocations: 3.875 kB / 1.102 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.9122, allocations: 0.5625 kB / 1.102 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.9123, allocations: 34.27 kB / 1.102 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.9123, allocations: 9.812 kB / 1.102 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007231/0.913, allocations: 1.33 MB / 1.104 GB, free: 57.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.9133, allocations: 52.2 kB / 1.104 GB, free: 57.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.9133, allocations: 3.875 kB / 1.104 GB, free: 57.09 MB / 0.7292 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 7.346e-05/0.9134, allocations: 123 kB / 1.104 GB, free: 56.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.9134, allocations: 7.781 kB / 1.104 GB, free: 56.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.482e-05/0.9134, allocations: 4.375 kB / 1.104 GB, free: 56.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9134, allocations: 7.812 kB / 1.104 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-07/0.9134, allocations: 0 / 1.104 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.9134, allocations: 0.625 kB / 1.104 GB, free: 56.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.9137, allocations: 341.5 kB / 1.104 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9137, allocations: 4 kB / 1.104 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.9137, allocations: 3.75 kB / 1.104 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9137, allocations: 0.5 kB / 1.104 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.9137, allocations: 3.094 kB / 1.104 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9137, allocations: 3.875 kB / 1.104 GB, free: 56.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9137, allocations: 4 kB / 1.104 GB, free: 56.67 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001487/0.9139, allocations: 195.1 kB / 1.104 GB, free: 56.53 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002277/0.9141, allocations: 0.566 MB / 1.105 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.9142, allocations: 84.95 kB / 1.105 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.9142, allocations: 3.188 kB / 1.105 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.9143, allocations: 6.641 kB / 1.105 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.9143, allocations: 6.031 kB / 1.105 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.9144, allocations: 6.688 kB / 1.105 GB, free: 55.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.468e-05/0.9144, allocations: 92.22 kB / 1.105 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008133/0.9152, allocations: 32.92 kB / 1.105 GB, free: 55.84 MB / 0.7292 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.0001168/0.9153, allocations: 113.3 kB / 1.105 GB, free: 55.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002737/0.9156, allocations: 224.4 kB / 1.105 GB, free: 55.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.9156, allocations: 0 / 1.105 GB, free: 55.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.9157, allocations: 44.06 kB / 1.106 GB, free: 55.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.9159, allocations: 19.97 kB / 1.106 GB, free: 55.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.9161, allocations: 110.7 kB / 1.106 GB, free: 55.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.9163, allocations: 0.7063 MB / 1.106 GB, free: 54.82 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9163, allocations: 0 / 1.106 GB, free: 54.82 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)