Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",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/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 182.6 kB / 8.132 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.114/1.114, allocations: 221.4 MB / 229.9 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008464/0.0008467, allocations: 89.66 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09235/0.09323, allocations: 55.83 MB / 336.6 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.2766, allocations: 50.38 MB / 387 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07757/0.3542, allocations: 76 MB / 463 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.3544, allocations: 80.73 kB / 463.1 MB, free: 10.71 MB / 346.7 MB 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.004528/0.359, allocations: 1.771 MB / 464.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.359, allocations: 10.44 kB / 464.9 MB, free: 8.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3591, allocations: 20.36 kB / 464.9 MB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.3593, allocations: 205 kB / 465.1 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3593, allocations: 4 kB / 465.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.3593, allocations: 5.031 kB / 465.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/0.3594, allocations: 49.48 kB / 465.1 MB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.3598, allocations: 226.9 kB / 465.4 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.3598, allocations: 3.938 kB / 465.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3598, allocations: 0.5625 kB / 465.4 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3598, allocations: 4.844 kB / 465.4 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.36, allocations: 159.9 kB / 465.5 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.3602, allocations: 138.9 kB / 465.7 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3603, allocations: 80.16 kB / 465.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.3603, allocations: 4 kB / 465.7 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.3604, allocations: 34.56 kB / 465.8 MB, free: 7.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.3604, allocations: 4 kB / 465.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002351/0.3606, allocations: 129.7 kB / 465.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3607, allocations: 55.41 kB / 466 MB, free: 7.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3608, allocations: 144 kB / 466.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3608, allocations: 25.7 kB / 466.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.3609, allocations: 80.47 kB / 466.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3609, allocations: 15.92 kB / 466.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.3609, allocations: 0 / 466.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.361, allocations: 326.8 kB / 466.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.3611, allocations: 20.66 kB / 466.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3612, allocations: 109.7 kB / 466.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.3613, allocations: 47.91 kB / 466.7 MB, free: 6.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3613, allocations: 3.906 kB / 466.7 MB, free: 6.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001972/0.3615, allocations: 137.8 kB / 466.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3615, allocations: 11.12 kB / 466.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.3615, allocations: 4 kB / 466.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3615, allocations: 4.75 kB / 466.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3616, allocations: 31.92 kB / 466.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3617, allocations: 8 kB / 466.9 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.3617, allocations: 9.281 kB / 466.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3618, allocations: 8 kB / 466.9 MB, free: 6.648 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001091/0.3619, allocations: 132.8 kB / 467.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.362, allocations: 121.5 kB / 467.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.53e-05/0.3621, allocations: 16.69 kB / 467.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3621, allocations: 0.9375 kB / 467.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3621, allocations: 0 / 467.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3621, allocations: 7.891 kB / 467.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3623, allocations: 158.1 kB / 467.4 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3623, allocations: 3.906 kB / 467.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3624, allocations: 27.98 kB / 467.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3624, allocations: 0 / 467.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3624, allocations: 4.812 kB / 467.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3624, allocations: 0 / 467.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3624, allocations: 0 / 467.4 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000227/0.3627, allocations: 166.3 kB / 467.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003416/0.363, allocations: 0.5283 MB / 468.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3632, allocations: 112.8 kB / 468.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3632, allocations: 0.6875 kB / 468.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.101e-05/0.3632, allocations: 0 / 468.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-06/0.3632, allocations: 0 / 468.2 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.3633, allocations: 8 kB / 468.2 MB, free: 5.273 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.056e-05/0.3633, allocations: 110.1 kB / 468.3 MB, free: 5.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000832/0.3642, allocations: 16 kB / 468.3 MB, free: 5.152 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.00013/0.3643, allocations: 111.2 kB / 468.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3645, allocations: 87.8 kB / 468.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3645, allocations: 0 / 468.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.3645, allocations: 0 / 468.5 MB, free: 4.949 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3648, allocations: 88.27 kB / 468.6 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.3653, allocations: 180.2 kB / 468.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/0.3657, allocations: 0.7352 MB / 469.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3657, allocations: 0 / 469.5 MB, free: 3.902 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1)