Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_Scatter",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.1-maint.8.0.x/package.mo): time 1.387/1.387, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.00107/0.00107, allocations: 177.2 kB / 361.1 MB, free: 7.121 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.137/1.137, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.0008881/0.0008881, allocations: 90.89 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2097/0.2106, allocations: 121.4 MB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.7422, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.9043, allocations: 140.4 MB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.9046, allocations: 76.47 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.01839/0.923, allocations: 6.316 MB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9231, allocations: 8.5 kB / 1.107 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.9232, allocations: 24.31 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005343/0.9237, allocations: 255.2 kB / 1.107 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.9237, allocations: 4.531 kB / 1.107 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.9238, allocations: 8.688 kB / 1.107 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001443/0.924, allocations: 48.36 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.9241, allocations: 95.84 kB / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.9241, allocations: 0 / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.9242, allocations: 0 / 1.108 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.9242, allocations: 7.984 kB / 1.108 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000766/0.925, allocations: 425.4 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.9251, allocations: 68.2 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.9252, allocations: 28.84 kB / 1.108 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.9252, allocations: 4 kB / 1.108 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.9254, allocations: 83.39 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/0.9254, allocations: 0 / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002759/0.9257, allocations: 101.4 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.9257, allocations: 55.41 kB / 1.108 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.9259, allocations: 161.7 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.9259, allocations: 29.7 kB / 1.108 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.135e-05/0.926, allocations: 116.3 kB / 1.109 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.926, allocations: 31.59 kB / 1.109 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.926, allocations: 0 / 1.109 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.9262, allocations: 326.8 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.9262, allocations: 28.2 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.9264, allocations: 120.4 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.9265, allocations: 41.36 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9265, allocations: 0 / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002187/0.9267, allocations: 127.8 kB / 1.109 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.9268, allocations: 8 kB / 1.109 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.9268, allocations: 0 / 1.109 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.9268, allocations: 7.984 kB / 1.109 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.9269, allocations: 15.94 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.9269, allocations: 0 / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.9271, allocations: 23.83 kB / 1.109 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.9271, allocations: 8.062 kB / 1.109 GB, free: 6.848 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001044/0.9273, allocations: 120.7 kB / 1.109 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.9273, allocations: 21.5 kB / 1.109 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.9275, allocations: 111.1 kB / 1.109 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.9275, allocations: 4 kB / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9275, allocations: 2.875 kB / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9276, allocations: 0 / 1.11 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.9281, allocations: 410.9 kB / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9281, allocations: 0 / 1.11 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/0.9282, allocations: 11.94 kB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.9282, allocations: 3.906 kB / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.9282, allocations: 0 / 1.11 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9282, allocations: 4 kB / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9282, allocations: 0 / 1.11 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000215/0.9284, allocations: 205.2 kB / 1.11 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003209/0.9288, allocations: 0.5622 MB / 1.111 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.9288, allocations: 100.8 kB / 1.111 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.9289, allocations: 7.938 kB / 1.111 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.929, allocations: 11.98 kB / 1.111 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.9291, allocations: 11.98 kB / 1.111 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.9291, allocations: 11.98 kB / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.913e-05/0.9292, allocations: 129.7 kB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008628/0.9301, allocations: 43.91 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003434/0.9304, allocations: 176.2 kB / 1.111 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.9306, allocations: 79.92 kB / 1.111 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9306, allocations: 4 kB / 1.111 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.9307, allocations: 39.92 kB / 1.111 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.931, allocations: 39.28 kB / 1.111 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.9316, allocations: 200.3 kB / 1.111 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.932, allocations: 0.7557 MB / 1.112 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.932, allocations: 0 / 1.112 GB, free: 3.688 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1)