Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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 10.0.0-master/package.mo): time 1.916/1.916, allocations: 390.4 MB / 397.7 MB, free: 11.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 186.2 kB / 490.8 MB, free: 1.902 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 92.91 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4527/0.4538, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.6549, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5542/1.209, allocations: 153.2 MB / 1.361 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.209, allocations: 75.2 kB / 1.361 GB, free: 17.11 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02263/1.232, allocations: 8.738 MB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.232, allocations: 10.03 kB / 1.37 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/1.232, allocations: 26.11 kB / 1.37 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/1.233, allocations: 263.5 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/1.233, allocations: 3.625 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/1.233, allocations: 12.89 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000127/1.233, allocations: 50.61 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/1.233, allocations: 79.73 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.233, allocations: 3.906 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/1.233, allocations: 1.062 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.233, allocations: 1.5 kB / 1.37 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/1.234, allocations: 408.1 kB / 1.371 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/1.234, allocations: 90.91 kB / 1.371 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/1.234, allocations: 34.08 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/1.234, allocations: 1.062 kB / 1.371 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/1.234, allocations: 99.27 kB / 1.371 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/1.234, allocations: 7.938 kB / 1.371 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002618/1.234, allocations: 109.9 kB / 1.371 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/1.235, allocations: 58.98 kB / 1.371 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/1.235, allocations: 166.2 kB / 1.371 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/1.235, allocations: 32.98 kB / 1.371 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/1.235, allocations: 100.9 kB / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/1.235, allocations: 35.78 kB / 1.371 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/1.235, allocations: 0 / 1.371 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.235, allocations: 340 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/1.235, allocations: 24.06 kB / 1.372 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/1.235, allocations: 116.8 kB / 1.372 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.076e-05/1.235, allocations: 37.94 kB / 1.372 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.235, allocations: 2.922 kB / 1.372 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002266/1.236, allocations: 125.8 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.236, allocations: 10.8 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.236, allocations: 1.344 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.236, allocations: 2.625 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/1.236, allocations: 20.11 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.236, allocations: 3.578 kB / 1.372 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/1.236, allocations: 28.17 kB / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/1.236, allocations: 6.328 kB / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 8.736e-05/1.236, allocations: 120.6 kB / 1.372 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/1.236, allocations: 25.53 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/1.236, allocations: 18.38 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/1.236, allocations: 1.469 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.236, allocations: 0 / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.236, allocations: 2.578 kB / 1.372 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/1.237, allocations: 458.9 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.237, allocations: 4.562 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/1.237, allocations: 4.25 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.237, allocations: 1.859 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.237, allocations: 1.594 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/1.237, allocations: 5.094 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.237, allocations: 0.75 kB / 1.373 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000202/1.237, allocations: 213.8 kB / 1.373 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002968/1.237, allocations: 0.5764 MB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/1.237, allocations: 99.58 kB / 1.374 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/1.237, allocations: 1.891 kB / 1.374 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/1.238, allocations: 20.55 kB / 1.374 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/1.238, allocations: 20.84 kB / 1.374 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/1.238, allocations: 9.859 kB / 1.374 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000102/1.238, allocations: 139.1 kB / 1.374 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009272/1.239, allocations: 52.06 kB / 1.374 GB, free: 29.45 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0003159/1.239, allocations: 173.4 kB / 1.374 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002048/1.239, allocations: 87.27 kB / 1.374 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.239, allocations: 9.75 kB / 1.374 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/1.239, allocations: 50.56 kB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/1.24, allocations: 40.28 kB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/1.24, allocations: 192.8 kB / 1.374 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/1.241, allocations: 0.7483 MB / 1.375 GB, free: 28.51 MB / 0.8386 GB Notification: Performance of SimCode: time 2.9e-07/1.241, allocations: 0 / 1.375 GB, free: 28.51 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)