Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",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 loadModel(Buildings): time 4.154/4.154, allocations: 433 MB / 440.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2591/4.413, allocations: 104.4 MB / 0.5319 GB, free: 2.328 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/4.948, allocations: 98.7 MB / 0.6283 GB, free: 80 kB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/5.271, allocations: 150.6 MB / 0.7753 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004166/5.272, allocations: 95.94 kB / 0.7754 GB, free: 9.188 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.07416/5.346, allocations: 16.52 MB / 0.7916 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/5.346, allocations: 8 kB / 0.7916 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/5.347, allocations: 95.59 kB / 0.7917 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006107/5.348, allocations: 259 kB / 0.7919 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/5.348, allocations: 7.938 kB / 0.7919 GB, free: 8.023 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/5.348, allocations: 16 kB / 0.7919 GB, free: 8.008 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000695/5.349, allocations: 240.8 kB / 0.7922 GB, free: 7.773 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/5.35, allocations: 335.7 kB / 0.7925 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/5.35, allocations: 0 / 0.7925 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/5.35, allocations: 0 / 0.7925 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/5.35, allocations: 20.42 kB / 0.7925 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/5.353, allocations: 1.47 MB / 0.7939 GB, free: 5.793 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/5.353, allocations: 214.4 kB / 0.7941 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/5.353, allocations: 112.8 kB / 0.7943 GB, free: 5.461 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/5.354, allocations: 85.11 kB / 0.7943 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/5.354, allocations: 34.55 kB / 0.7944 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 3.086e-06/5.354, allocations: 0 / 0.7944 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.002235/5.356, allocations: 0.7315 MB / 0.7951 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/5.356, allocations: 51.41 kB / 0.7951 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/5.356, allocations: 165.4 kB / 0.7953 GB, free: 4.301 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/5.356, allocations: 25.7 kB / 0.7953 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/5.356, allocations: 160.1 kB / 0.7955 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/5.356, allocations: 67 kB / 0.7955 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/5.356, allocations: 0 / 0.7955 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001353/5.357, allocations: 330.8 kB / 0.7958 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/5.357, allocations: 108 kB / 0.7959 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/5.357, allocations: 162 kB / 0.7961 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/5.358, allocations: 159.8 kB / 0.7963 GB, free: 3.27 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/5.358, allocations: 4 kB / 0.7963 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001461/5.359, allocations: 411 kB / 0.7966 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/5.359, allocations: 9.75 kB / 0.7967 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/5.359, allocations: 0 / 0.7967 GB, free: 2.848 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006105/5.36, allocations: 92.78 kB / 0.7967 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/5.361, allocations: 47.91 kB / 0.7968 GB, free: 2.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/5.363, allocations: 1.647 MB / 0.7984 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/5.364, allocations: 4 kB / 0.7984 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/5.364, allocations: 20.03 kB / 0.7984 GB, free: 0.918 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/5.364, allocations: 108.8 kB / 0.7985 GB, free: 0.8047 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/5.364, allocations: 19.88 kB / 0.7985 GB, free: 0.7852 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/5.365, allocations: 303.1 kB / 0.7988 GB, free: 500 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/5.365, allocations: 0 / 0.7988 GB, free: 500 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/5.365, allocations: 11.94 kB / 0.7988 GB, free: 488 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/5.365, allocations: 3.984 kB / 0.7989 GB, free: 484 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2707/5.636, allocations: 0.6609 MB / 0.7995 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/5.636, allocations: 3.828 kB / 0.7995 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/5.637, allocations: 55.7 kB / 0.7996 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/5.637, allocations: 7.625 kB / 0.7996 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/5.637, allocations: 0 / 0.7996 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/5.637, allocations: 7.156 kB / 0.7996 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/5.637, allocations: 3.844 kB / 0.7996 GB, free: 237.2 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001135/5.638, allocations: 0.5449 MB / 0.8001 GB, free: 237 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001417/5.639, allocations: 1.086 MB / 0.8012 GB, free: 236.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/5.639, allocations: 119.7 kB / 0.8013 GB, free: 236.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/5.64, allocations: 3.438 kB / 0.8013 GB, free: 236.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/5.64, allocations: 10.94 kB / 0.8013 GB, free: 236.4 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/5.64, allocations: 9.094 kB / 0.8013 GB, free: 236.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/5.64, allocations: 10.25 kB / 0.8013 GB, free: 236.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001367/5.64, allocations: 128.7 kB / 0.8014 GB, free: 236.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001398/5.642, allocations: 70.42 kB / 0.8015 GB, free: 236.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0002138/5.642, allocations: 123.9 kB / 0.8016 GB, free: 236.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000969/5.643, allocations: 395.2 kB / 0.802 GB, free: 236.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/5.643, allocations: 0.7812 kB / 0.802 GB, free: 236.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/5.643, allocations: 124.2 kB / 0.8021 GB, free: 236.1 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/5.643, allocations: 23.05 kB / 0.8021 GB, free: 236.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/5.645, allocations: 489.2 kB / 0.8026 GB, free: 236 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/5.646, allocations: 0.8084 MB / 0.8034 GB, free: 235.3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.194e-06/5.646, allocations: 0 / 0.8034 GB, free: 235.3 MB / 0.6667 GB