Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay",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/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 185.6 kB / 7.804 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4439/0.4439, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 221.4 MB / 342.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000963/0.000963, allocations: 93.2 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1793/0.1803, allocations: 78.44 MB / 493.9 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.596, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.7135, allocations: 101.3 MB / 0.6519 GB, free: 8.723 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.7138, allocations: 67.97 kB / 0.6519 GB, free: 8.656 MB / 474.7 MB 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.003828/0.7177, allocations: 1.295 MB / 0.6532 GB, free: 7.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7177, allocations: 12.62 kB / 0.6532 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.7178, allocations: 11.83 kB / 0.6532 GB, free: 7.316 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.7179, allocations: 163.7 kB / 0.6534 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.718, allocations: 0.7812 kB / 0.6534 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.718, allocations: 11.84 kB / 0.6534 GB, free: 7.105 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.7e-05/0.7181, allocations: 13.56 kB / 0.6534 GB, free: 7.094 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.627e-05/0.7182, allocations: 49.69 kB / 0.6535 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7182, allocations: 0 / 0.6535 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.7182, allocations: 0 / 0.6535 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7182, allocations: 0.8125 kB / 0.6535 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.7186, allocations: 246.1 kB / 0.6537 GB, free: 6.762 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.18e-05/0.7187, allocations: 39.8 kB / 0.6537 GB, free: 6.715 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.7187, allocations: 24.25 kB / 0.6538 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.7188, allocations: 5.062 kB / 0.6538 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.7189, allocations: 87.94 kB / 0.6538 GB, free: 6.586 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.7189, allocations: 0 / 0.6538 GB, free: 6.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001904/0.7191, allocations: 82.42 kB / 0.6539 GB, free: 6.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.7192, allocations: 81.11 kB / 0.654 GB, free: 6.402 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.7192, allocations: 103.5 kB / 0.6541 GB, free: 6.297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.7193, allocations: 26.33 kB / 0.6541 GB, free: 6.266 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/0.7193, allocations: 84.73 kB / 0.6542 GB, free: 6.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.7193, allocations: 16.39 kB / 0.6542 GB, free: 6.164 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.7194, allocations: 0 / 0.6542 GB, free: 6.164 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7195, allocations: 323.3 kB / 0.6545 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.7196, allocations: 12.59 kB / 0.6545 GB, free: 5.828 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-05/0.7196, allocations: 31.95 kB / 0.6546 GB, free: 5.789 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.7196, allocations: 16.61 kB / 0.6546 GB, free: 5.773 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7197, allocations: 0.625 kB / 0.6546 GB, free: 5.773 MB / 474.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001235/0.7198, allocations: 82.12 kB / 0.6547 GB, free: 5.688 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7198, allocations: 4.938 kB / 0.6547 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7198, allocations: 4 kB / 0.6547 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.7198, allocations: 0 / 0.6547 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.7199, allocations: 4.531 kB / 0.6547 GB, free: 5.676 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.7199, allocations: 8.703 kB / 0.6547 GB, free: 5.668 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.72, allocations: 16.72 kB / 0.6547 GB, free: 5.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.72, allocations: 3.281 kB / 0.6547 GB, free: 5.648 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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: 1 * 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 9.883e-05/0.7201, allocations: 145.6 kB / 0.6548 GB, free: 5.492 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.7201, allocations: 7.906 kB / 0.6549 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.7202, allocations: 11.28 kB / 0.6549 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.7202, allocations: 0 / 0.6549 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7202, allocations: 0 / 0.6549 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.7202, allocations: 11.89 kB / 0.6549 GB, free: 5.465 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.7205, allocations: 321.4 kB / 0.6552 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7205, allocations: 0 / 0.6552 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.7205, allocations: 1.562 kB / 0.6552 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7205, allocations: 0.6562 kB / 0.6552 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.7206, allocations: 7.906 kB / 0.6552 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.7206, allocations: 1.438 kB / 0.6552 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7206, allocations: 0 / 0.6552 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001545/0.7207, allocations: 175.9 kB / 0.6554 GB, free: 4.914 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002641/0.721, allocations: 0.5552 MB / 0.6559 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.721, allocations: 81.02 kB / 0.656 GB, free: 4.246 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.7211, allocations: 4 kB / 0.656 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.7212, allocations: 13.2 kB / 0.656 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.7212, allocations: 9.344 kB / 0.656 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.7213, allocations: 9.672 kB / 0.656 GB, free: 4.215 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.76e-05/0.7213, allocations: 84.3 kB / 0.6561 GB, free: 4.133 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007761/0.7221, allocations: 16.06 kB / 0.6561 GB, free: 4.117 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 9.962e-05/0.7222, allocations: 99.28 kB / 0.6562 GB, free: 4.016 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.7223, allocations: 73.64 kB / 0.6563 GB, free: 3.938 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7224, allocations: 0 / 0.6563 GB, free: 3.938 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 7.352e-05/0.7224, allocations: 61.69 kB / 0.6563 GB, free: 3.871 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.7227, allocations: 16.66 kB / 0.6563 GB, free: 3.855 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.723, allocations: 99.69 kB / 0.6564 GB, free: 3.734 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.7233, allocations: 0.6997 MB / 0.6571 GB, free: 3.008 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.7233, allocations: 0 / 0.6571 GB, free: 3.008 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)