Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter",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/BuildingSystems 2.0.0-master/package.mo): time 0.7558/0.7558, allocations: 141.8 MB / 149.1 MB, free: 2.367 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 182.9 kB / 181.9 MB, free: 1.914 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.4 MB / 436 MB, free: 6.551 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000952/0.0009518, allocations: 112 kB / 0.507 GB, free: 3.23 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00171/0.00171, allocations: 278.1 kB / 0.5884 GB, free: 48.2 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.1804, allocations: 89.64 MB / 0.676 GB, free: 6.488 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.5627, allocations: 82.77 MB / 0.7568 GB, free: 25.61 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.7024, allocations: 109 MB / 0.8632 GB, free: 12.45 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.7027, allocations: 83.8 kB / 0.8633 GB, free: 12.38 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0161/0.7188, allocations: 5.045 MB / 0.8682 GB, free: 7.293 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7188, allocations: 8 kB / 0.8683 GB, free: 7.285 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.7189, allocations: 23.72 kB / 0.8683 GB, free: 7.262 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.7194, allocations: 269.5 kB / 0.8685 GB, free: 6.957 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.7194, allocations: 4 kB / 0.8685 GB, free: 6.953 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.7194, allocations: 8 kB / 0.8685 GB, free: 6.945 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002624/0.7197, allocations: 84.2 kB / 0.8686 GB, free: 6.859 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.72, allocations: 132.5 kB / 0.8688 GB, free: 6.727 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.7201, allocations: 4 kB / 0.8688 GB, free: 6.723 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.7201, allocations: 0 / 0.8688 GB, free: 6.723 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.7201, allocations: 12.22 kB / 0.8688 GB, free: 6.711 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/0.7211, allocations: 0.5094 MB / 0.8693 GB, free: 6.16 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.7215, allocations: 231.8 kB / 0.8695 GB, free: 5.926 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.7216, allocations: 77.19 kB / 0.8696 GB, free: 5.848 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.7216, allocations: 8.125 kB / 0.8696 GB, free: 5.84 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.7216, allocations: 30.75 kB / 0.8696 GB, free: 5.801 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=22): time 1.994e-06/0.7216, allocations: 0 / 0.8696 GB, free: 5.801 MB / 0.5419 GB Notification: Performance of matching and sorting (n=22): time 0.0004059/0.7221, allocations: 203.5 kB / 0.8698 GB, free: 5.598 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.7221, allocations: 59.41 kB / 0.8698 GB, free: 5.527 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.7223, allocations: 204.1 kB / 0.87 GB, free: 5.32 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.7224, allocations: 25.7 kB / 0.8701 GB, free: 5.289 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.7224, allocations: 104.5 kB / 0.8702 GB, free: 5.184 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.7225, allocations: 82.75 kB / 0.8702 GB, free: 5.102 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.7225, allocations: 0 / 0.8702 GB, free: 5.102 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7227, allocations: 338.8 kB / 0.8706 GB, free: 4.762 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.7228, allocations: 75.98 kB / 0.8706 GB, free: 4.688 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.723, allocations: 92.97 kB / 0.8707 GB, free: 4.598 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.7232, allocations: 100.9 kB / 0.8708 GB, free: 4.5 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7232, allocations: 0 / 0.8708 GB, free: 4.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003927/0.7236, allocations: 253.3 kB / 0.8711 GB, free: 4.246 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.7236, allocations: 7.984 kB / 0.8711 GB, free: 4.238 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.7237, allocations: 0 / 0.8711 GB, free: 4.238 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7237, allocations: 4 kB / 0.8711 GB, free: 4.234 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.7241, allocations: 75.91 kB / 0.8712 GB, free: 4.16 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.7241, allocations: 11.98 kB / 0.8712 GB, free: 4.148 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.7243, allocations: 15.75 kB / 0.8712 GB, free: 4.133 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.7244, allocations: 8 kB / 0.8712 GB, free: 4.125 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.483e-05/0.7245, allocations: 104.9 kB / 0.8713 GB, free: 4.016 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.7245, allocations: 23.72 kB / 0.8713 GB, free: 3.992 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.7246, allocations: 30.05 kB / 0.8713 GB, free: 3.961 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.7246, allocations: 4 kB / 0.8713 GB, free: 3.957 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7246, allocations: 0 / 0.8713 GB, free: 3.957 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.7246, allocations: 7.984 kB / 0.8714 GB, free: 3.949 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.725, allocations: 277.9 kB / 0.8716 GB, free: 3.641 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.725, allocations: 3.906 kB / 0.8716 GB, free: 3.637 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.7252, allocations: 47.89 kB / 0.8717 GB, free: 3.59 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.7253, allocations: 0 / 0.8717 GB, free: 3.59 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.7253, allocations: 11.94 kB / 0.8717 GB, free: 3.578 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.7253, allocations: 4 kB / 0.8717 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7253, allocations: 0 / 0.8717 GB, free: 3.574 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004917/0.7258, allocations: 378 kB / 0.872 GB, free: 3.191 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007415/0.7266, allocations: 0.8469 MB / 0.8729 GB, free: 2.328 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.7267, allocations: 120.8 kB / 0.873 GB, free: 2.191 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.7268, allocations: 7.984 kB / 0.873 GB, free: 2.184 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.727, allocations: 7.984 kB / 0.873 GB, free: 2.176 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.727, allocations: 15.98 kB / 0.873 GB, free: 2.16 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.7271, allocations: 7.938 kB / 0.873 GB, free: 2.152 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001794/0.7272, allocations: 164.5 kB / 0.8732 GB, free: 1.992 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008876/0.7281, allocations: 55.84 kB / 0.8732 GB, free: 1.938 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001602/0.7283, allocations: 107.2 kB / 0.8733 GB, free: 1.82 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003305/0.7286, allocations: 188.2 kB / 0.8735 GB, free: 1.637 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7287, allocations: 4 kB / 0.8735 GB, free: 1.633 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.7288, allocations: 91.91 kB / 0.8736 GB, free: 1.543 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.7291, allocations: 36.41 kB / 0.8736 GB, free: 1.508 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.7302, allocations: 479.4 kB / 0.8741 GB, free: 1.02 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.7308, allocations: 0.8019 MB / 0.8749 GB, free: 196 kB / 0.5419 GB Notification: Performance of SimCode: time 2.6e-07/0.7308, allocations: 0 / 0.8749 GB, free: 196 kB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_BaseClasses_Validation_ActuatorFilter.fmu > BuildingSystems_BuildingSystems.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1)