Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 181.2 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 0.5667 GB, free: 15.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000817/0.0008168, allocations: 93.94 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3267/0.3276, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.4814, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4565/0.938, allocations: 132 MB / 1.014 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.9382, allocations: 69.27 kB / 1.014 GB, free: 6.574 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003893/0.9421, allocations: 1.389 MB / 1.015 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.9422, allocations: 15.94 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.9422, allocations: 9.406 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.9424, allocations: 170 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.9424, allocations: 4 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.9424, allocations: 11.92 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.575e-05/0.9425, allocations: 28.73 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.9426, allocations: 66.91 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.9427, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.9427, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.9427, allocations: 1.031 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.9431, allocations: 259.7 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.708e-05/0.9432, allocations: 57.94 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.9432, allocations: 31.11 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.9432, allocations: 0 / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/0.9434, allocations: 81.08 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.9434, allocations: 0 / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002034/0.9436, allocations: 104.4 kB / 1.016 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.9436, allocations: 55.39 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.9437, allocations: 111 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.9437, allocations: 29.7 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.9438, allocations: 84.02 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.9438, allocations: 19.73 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.9438, allocations: 0 / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9439, allocations: 314.5 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.944, allocations: 30.5 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.944, allocations: 38.77 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.824e-05/0.9441, allocations: 18.69 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9441, allocations: 3.938 kB / 1.016 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003317/0.9444, allocations: 138.5 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.9444, allocations: 10.5 kB / 1.017 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9444, allocations: 3.938 kB / 1.017 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.9446, allocations: 35.66 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.9446, allocations: 8 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.9457, allocations: 1.343 MB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.9458, allocations: 16.12 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.9459, allocations: 4 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 8.282e-05/0.9459, allocations: 108.9 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.946, allocations: 3.906 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.923e-05/0.946, allocations: 11.62 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.946, allocations: 0 / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.946, allocations: 8.078 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.946, allocations: 4 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.9464, allocations: 361.1 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9465, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.9465, allocations: 7.984 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.9465, allocations: 8 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.9465, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9465, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9465, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001589/0.9467, allocations: 190.8 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002201/0.9469, allocations: 0.5583 MB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.947, allocations: 88.94 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.947, allocations: 7.5 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.9471, allocations: 11.98 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.9472, allocations: 7.984 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.9472, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.73e-05/0.9472, allocations: 90.22 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008048/0.948, allocations: 23.47 kB / 1.019 GB, free: 0.7109 MB / 0.6355 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 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001044/0.9481, allocations: 106.5 kB / 1.019 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.9484, allocations: 162.4 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9484, allocations: 4 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.9485, allocations: 42.94 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.9486, allocations: 15.42 kB / 1.02 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.9489, allocations: 109.7 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.9492, allocations: 0.6997 MB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.9492, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.pipe 2>&1)