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.FallingEdge.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.FallingEdge,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.237/1.237, allocations: 249.4 MB / 256.7 MB, free: 7.09 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.0009954/0.0009955, allocations: 184.8 kB / 316 MB, free: 3.543 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.113/1.113, allocations: 205.1 MB / 0.5667 GB, free: 15.68 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.0008549/0.000855, allocations: 101.7 kB / 0.671 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3115/0.3124, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.4715, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.9382, allocations: 132.1 MB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.9385, allocations: 74.52 kB / 1.014 GB, free: 6.43 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.002865/0.9413, allocations: 1.039 MB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.9414, allocations: 16 kB / 1.015 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.9414, allocations: 7.781 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.9415, allocations: 171 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.9416, allocations: 7.984 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.9416, allocations: 4 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.431e-05/0.9417, allocations: 26.44 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.9418, allocations: 45.06 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9418, allocations: 0 / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.9418, allocations: 0 / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.9418, allocations: 7.906 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.9423, allocations: 286.4 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.9424, allocations: 44.2 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.9425, allocations: 19.05 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.9425, allocations: 0 / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.771e-05/0.9426, allocations: 61.95 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.9426, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001611/0.9428, allocations: 68.81 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.9428, allocations: 58.45 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.9429, allocations: 111.6 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.9429, allocations: 26.08 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.9429, allocations: 95.28 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.943, allocations: 7.812 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.943, allocations: 0 / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.9431, allocations: 326.6 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.164e-05/0.9431, allocations: 14.88 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.9432, allocations: 42.12 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.37e-05/0.9432, allocations: 15.36 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9432, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001213/0.9433, allocations: 87.47 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.9434, allocations: 4 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9434, allocations: 0 / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.9434, allocations: 4 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.9435, allocations: 20.08 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.9435, allocations: 0 / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.967e-05/0.9436, allocations: 15.98 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.9436, allocations: 8 kB / 1.016 GB, free: 3.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.9437, allocations: 112.8 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.9437, allocations: 3.906 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.9438, allocations: 12.19 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9438, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9438, allocations: 3.984 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9438, allocations: 0 / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.944, allocations: 303.9 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.944, allocations: 7.938 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.9441, allocations: 11.98 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9441, allocations: 2.938 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.9441, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.9441, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9441, allocations: 3.938 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000123/0.9443, allocations: 166.8 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001928/0.9445, allocations: 0.5325 MB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.9445, allocations: 80.67 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.9445, allocations: 7.984 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.9447, allocations: 27.88 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.9447, allocations: 3.984 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.9447, allocations: 4 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.004e-05/0.9448, allocations: 97.84 kB / 1.018 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007824/0.9456, allocations: 11.94 kB / 1.018 GB, free: 2.391 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001423/0.9457, allocations: 107.2 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.9459, allocations: 46.25 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.9459, allocations: 0 / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.9459, allocations: 25.73 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.9461, allocations: 7.562 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.9465, allocations: 126.7 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.9468, allocations: 0.6997 MB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.9468, allocations: 0 / 1.019 GB, free: 1.352 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)