Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.Printer,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_Printer",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 8.0.0/package.mo): time 2.325/2.325, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00188/0.00188, allocations: 181.3 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.97/1.97, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002014/0.002014, allocations: 83.97 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2887/0.2908, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.9483, allocations: 115.2 MB / 0.9627 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/1.177, allocations: 138.8 MB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/1.178, allocations: 85.59 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.01568/1.193, allocations: 3.186 MB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/1.193, allocations: 8.5 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/1.194, allocations: 15.81 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/1.194, allocations: 222.7 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/1.194, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.892e-05/1.194, allocations: 12 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000157/1.194, allocations: 27.98 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/1.194, allocations: 103.4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.194, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/1.194, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.194, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/1.195, allocations: 450.9 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/1.196, allocations: 73.14 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.767e-05/1.196, allocations: 29.84 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/1.196, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/1.196, allocations: 117.1 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 4.208e-06/1.196, allocations: 3.984 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0003429/1.196, allocations: 99.67 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/1.196, allocations: 85.05 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/1.197, allocations: 133.5 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/1.197, allocations: 33.69 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/1.197, allocations: 96.42 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/1.197, allocations: 27.64 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.197, allocations: 4 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.197, allocations: 326.8 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/1.197, allocations: 16 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/1.197, allocations: 90.3 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.278e-05/1.197, allocations: 35.92 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.197, allocations: 3.906 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002879/1.198, allocations: 113.5 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.198, allocations: 11.91 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/1.198, allocations: 0 / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.198, allocations: 4 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/1.198, allocations: 32.2 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.198, allocations: 3.984 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/1.198, allocations: 15.94 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/1.198, allocations: 11.75 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001318/1.198, allocations: 116.7 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/1.198, allocations: 19.81 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.502e-05/1.199, allocations: 21.39 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.199, allocations: 4 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.199, allocations: 0 / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.199, allocations: 1.812 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/1.199, allocations: 466 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.199, allocations: 4 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/1.199, allocations: 19.98 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.2, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/1.2, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.2, allocations: 4 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.2, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003406/1.2, allocations: 290.5 kB / 1.104 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004743/1.2, allocations: 0.649 MB / 1.105 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/1.2, allocations: 85.02 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/1.201, allocations: 3.906 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/1.201, allocations: 29.53 kB / 1.105 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/1.201, allocations: 11.98 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/1.201, allocations: 8 kB / 1.105 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000176/1.201, allocations: 125 kB / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001364/1.203, allocations: 47.97 kB / 1.105 GB, free: 10.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005174/1.203, allocations: 190.1 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002705/1.203, allocations: 63.92 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.203, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/1.204, allocations: 39.92 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/1.204, allocations: 20.23 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/1.205, allocations: 169 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/1.205, allocations: 0.7309 MB / 1.107 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/1.205, allocations: 0 / 1.107 GB, free: 9.215 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_Printer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_IO_Files_Examples_Printer.fmu > Buildings_8.0.0_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)