Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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 9.1.1-maint.9.1.x/package.mo): time 1.856/1.856, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 187.4 kB / 487 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.3 MB / 0.7819 GB, free: 6.816 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009209/0.000921, allocations: 101.2 kB / 0.9213 GB, free: 43.72 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2348/0.2357, allocations: 148.5 MB / 1.066 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.7911, allocations: 142.3 MB / 1.205 GB, free: 72.61 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.9585, allocations: 152.5 MB / 1.354 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.9588, allocations: 75.95 kB / 1.354 GB, free: 10.66 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.03367/0.9925, allocations: 13.56 MB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.9925, allocations: 8 kB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.9926, allocations: 23.8 kB / 1.368 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.9931, allocations: 262.5 kB / 1.368 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.9931, allocations: 8.469 kB / 1.368 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.9931, allocations: 8 kB / 1.368 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001242/0.9933, allocations: 43.98 kB / 1.368 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.9934, allocations: 107.3 kB / 1.368 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.9934, allocations: 0 / 1.368 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.9935, allocations: 4 kB / 1.368 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.9935, allocations: 0 / 1.368 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.9941, allocations: 0.4939 MB / 1.368 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.9942, allocations: 85.14 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.9943, allocations: 37.78 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.9943, allocations: 4 kB / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.9945, allocations: 116.7 kB / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.9945, allocations: 0 / 1.369 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002185/0.9947, allocations: 113.2 kB / 1.369 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.9947, allocations: 85.05 kB / 1.369 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.9949, allocations: 169.7 kB / 1.369 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.9949, allocations: 28.8 kB / 1.369 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.995, allocations: 108.5 kB / 1.369 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.995, allocations: 35.55 kB / 1.369 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.995, allocations: 0 / 1.369 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.9951, allocations: 334.8 kB / 1.369 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.9952, allocations: 32.41 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.9954, allocations: 120.9 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.132e-05/0.9954, allocations: 35.92 kB / 1.37 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9954, allocations: 4 kB / 1.37 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002132/0.9957, allocations: 141.2 kB / 1.37 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.9957, allocations: 4 kB / 1.37 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.9957, allocations: 4 kB / 1.37 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.9957, allocations: 4 kB / 1.37 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.841e-05/0.9958, allocations: 16.16 kB / 1.37 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9958, allocations: 11.94 kB / 1.37 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.996, allocations: 27.88 kB / 1.37 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.9961, allocations: 8 kB / 1.37 GB, free: 10.45 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.692e-05/0.9962, allocations: 118.8 kB / 1.37 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.9962, allocations: 19.72 kB / 1.37 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.9963, allocations: 25.45 kB / 1.37 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9963, allocations: 0 / 1.37 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9963, allocations: 0 / 1.37 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.9963, allocations: 0 / 1.37 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.9968, allocations: 426.8 kB / 1.37 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.9968, allocations: 0 / 1.37 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.9968, allocations: 7.938 kB / 1.37 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9968, allocations: 0 / 1.37 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.9969, allocations: 7.906 kB / 1.37 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9969, allocations: 4 kB / 1.37 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.9969, allocations: 2.266 kB / 1.37 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001829/0.9971, allocations: 213.9 kB / 1.371 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002774/0.9973, allocations: 0.6036 MB / 1.371 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.9974, allocations: 96.81 kB / 1.371 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.9974, allocations: 6.625 kB / 1.371 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.9976, allocations: 19.98 kB / 1.371 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.9977, allocations: 23.91 kB / 1.371 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.9977, allocations: 4 kB / 1.371 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.995e-05/0.9978, allocations: 140.2 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008719/0.9987, allocations: 40 kB / 1.372 GB, free: 8.598 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0002949/0.999, allocations: 174.8 kB / 1.372 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.9992, allocations: 95.86 kB / 1.372 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9992, allocations: 0 / 1.372 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.9993, allocations: 43.94 kB / 1.372 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.9996, allocations: 50.08 kB / 1.372 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/1, allocations: 194.3 kB / 1.372 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/1, allocations: 0.7509 MB / 1.373 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of SimCode: time 2.7e-07/1, allocations: 0 / 1.373 GB, free: 7.273 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1)